package com.example.service;

import java.util.List;
import java.util.Map;

public interface ActivitiService {
	String deploy(String bpmnName);
	
	void startProcess(String key, Long orderId, String username);
	
	void afterSubmit(String username, Long orderId);
	
	int approval(List<String> groupNames, String username, Long orderId, Boolean result);
	
	
	Map<Long, Integer> pendingOrderIds(List<String> usernameList, List<String> groupNames, String currentUser);
	
	int claim(String username, List<String> groupNames, Long orderId);
	
	List<Long> processedOrderIds(String username, String variableName) ;
	
	boolean isOwner(Long orderId, String currentUser);
}
